function default1 (a,g,b=5,c=9){
  console.log(a+b+c)
  console.log("a---",a)
  console.log("b---",b)
  console.log("c---",c)
  console.log("g----",g)

}

function default2({http,ip,guankou,host='host'}){
  console.log('host---',host)
  console.log('ip---',ip)
  console.log('hguankou--',guankou)
  console.log('http--',http)
}

 default2({
  http:'http',
  ip:"192.168.0.4",
  guankou:8080,
  host:'hhostt'
})
default1(1,2)